namespace java com.fgchen.study.user.exception

enum CrudType {
    CREATE   = 1,
    RESEARCH = 2,
    UPDATE   = 3,
    DELETE   = 4
}

exception LoginException {
    1: string message;
}

exception CrudException {
    1: CrudType crudType;
    2: string message;
}